#define _CRT_SECURE_NO_WARNINGS 1
#include "List.h"


void TestList1()
{
	LTNode* plist = ListInit();
	ListPushBack(plist, 5);
	ListPushBack(plist, 6);
	ListPushBack(plist, 7);
	ListPushBack(plist, 8);
	ListPrint(plist);
	//ListPopBack(plist);
	//ListPrint(plist);

	//ListPushFront(plist, 4);
	//ListPushFront(plist, 3);
	//ListPushFront(plist, 2);
	//ListPushFront(plist, 1);
	//ListPrint(plist);

	//LTNode* ret = ListFind(plist, 4);
	//ListInsert(ret, 30);
	//ListPrint(plist);
	ListDestroy(plist);
	plist = NULL;
}
int main( )
{
	TestList1();
	return 0;
}
